$(document).ready(function(){
   $("#denglu").click(function(){
       var name=$("#username").val();
       var password=$("#password").val();
       $.ajax({
           type:"POST",
           url:"/check/checkUser",
           dataType:"text",
           data:{
               name:name,
               password:password
           },
           success : function(data) {
               window.location.href="html/car.html";
               alert("````````");
               console.log(data);
           },
           error : function(xhr,textStatus) {
               console.log('错误');
               console.log(xhr);
               console.log(textStatus);
           }
       })
   })
});